<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
namespace Home\Controller;
use OT\DataDictionary;

class RegulationsController extends HomeController {

	//系统首页
    public function index(){
       $this->bg();
        $list = D('Document')->lists(43);
        $this->assign('lists',$list);
        //dump($list);
        $this->display('regulations');
    }
public function bg(){
         $list = D('Document')->getlist(70);
 $this->assign('bg',$list[3]);
}
}